class CreateRegions < ActiveRecord::Migration
  def self.up
    create_table :regions do |t|
      t.string :name
      t.string :latlon
      t.integer :zoom
      t.text :description

      t.timestamps
    end
    
    Region.create :name => "Mexico", :latlon => "103,456", :zoom => "6", :description => "That large country south of the U.S.A."
    Region.create :name => "Yakima", :latlon => "10,56", :zoom => "13", :description => "Somewhere in eastern Washington."
  end

  def self.down
    drop_table :regions
  end
end
